import request from '@/utils/request'
//获取账号信息
export function getSelfInfo() {
    return request({
      url: '/info',
      method: 'get',
    })
}
//修改密码
export function updatePassword(data) {
  return request({
    url: '/password',
    method: 'post',
    data: data
  })
}
